<?php $this->widget('Header'); ?>
<div class="clearfix"></div>
<!-- BEGIN CONTAINER -->
<div class="page-container">
	<!-- BEGIN SIDEBAR -->
	<?php $this->widget('Sidebar'); ?>
	<!-- END SIDEBAR -->
	<!-- BEGIN PAGE -->
	<div class="page-content">
    	<!-- BEGIN PAGE HEADER-->
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN PAGE TITLE & BREADCRUMB-->
                <?php if(isset($this->breadcrumbs)):?>
					<?php $this->widget('zii.widgets.CBreadcrumbs', array(
                        'links'=>$this->breadcrumbs,
                        'separator' => '',
                        'homeLink'=>'<li><i class="icon-home"></i> ' . CHtml::link('Dashboard', array('/Dashboard/default/index')) . '<i class="icon-angle-right"></i></li>',
                        'tagName' => 'ul',
                        'activeLinkTemplate' => '<li><a href="{url}">{label}</a><i class="icon-angle-right"></i></li>',
                        'inactiveLinkTemplate' => '<li class="active">{label}</li>',
                        'encodeLabel' => false,
                        'htmlOptions'=>array('class'=>'page-breadcrumb breadcrumb'),
                    )); ?><!-- breadcrumbs -->
                <?php endif; ?>
               <!-- END PAGE TITLE & BREADCRUMB-->
            </div>
        </div>
        <!-- END PAGE HEADER-->
		<?php echo $content; ?>
	</div>
	<!-- END PAGE -->
</div>
<!-- END CONTAINER -->
<?php $this->widget('Footer'); ?>